home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / pcr / pcr4_4.lha / DIST / debugnub / INCLUDE / xr / RDTRuntime.h < prev   
C/C++ Source or Header  |  1990-02-19  |  2KB  |  114 lines

  1. /* begincopyright
  2.   Copyright (c) 1988 Xerox Corporation. All rights reserved.
  3.   Use and copying of this software and preparation of derivative works based
  4.   upon this software are permitted. Any distribution of this software or
  5.   derivative works must comply with all applicable United States export
  6.   control laws. This software is made available AS IS, and Xerox Corporation
  7.   makes no warranty about the software, its performance or its conformity to
  8.   any specification. Any person obtaining a copy of this software is requested
  9.   to send their name and post office or electronic mail address to:
  10.     PCR Coordinator
  11.     Xerox PARC
  12.     3333 Coyote Hill Rd.
  13.     Palo Alto, CA 94304
  14.   endcopyright */
  15.  
  16. /*
  17.  * RDTRuntime.h
  18.  *
  19.  * Runtime support for remote debug tool.
  20.  *
  21.  * Demers, February 16, 1990 9:19:50 am PST
  22.  */
  23.  
  24. #ifndef _RDT_RUNTIME_
  25. #define _RDT_RUNTIME_
  26.  
  27. #ifndef _XR_BASIC_TYPES_
  28. #   include "xr/BasicTypes.h"
  29. #endif
  30.  
  31. #ifndef _CIRIO_NUB_PROTOCOL_
  32. #   include "xr/CirioNubProtocol.h"
  33. #endif
  34.  
  35. #ifndef _CIRIO_NUB_TYPES_
  36. #   include "xr/CirioNubTypes.h"
  37. #endif
  38.  
  39.  
  40. /*
  41.  * Messages
  42.  */
  43.  
  44. extern void
  45. RDT_Msg(/*
  46.     char *fmt,
  47.     int x1, x2, x3, x4, x5
  48. */);
  49.  
  50. extern void RDT_DBMsg(/*
  51.     char *fmt,
  52.     int x1, x2, x3, x4, x5
  53. */);
  54.  
  55. /*
  56.  * Marshalling stuff
  57.  */
  58.  
  59.  
  60.  
  61. /*
  62.  * Send data with type info
  63.  */
  64.  
  65.  
  66.  
  67. extern CirioNubRetCode
  68. RDT_PutRetCode(/* CirioNubRetCode c */);
  69.  
  70. extern CirioNubRetCode
  71. RDT_PutProcID(/* unsigned id */);
  72.  
  73. extern CirioNubRetCode
  74. RDT_PutCard32(/* unsigned n */);
  75.  
  76. extern CirioNubRetCode
  77. RDT_PutInt32(/* int n */);
  78.  
  79.  
  80.  
  81.  
  82. extern CirioNubRetCode
  83. RDT_PutString(/* char *s */);
  84.  
  85. extern CirioNubRetCode
  86. RDT_PutBlock8(/* char *b, int len */);
  87.  
  88. extern CirioNubRetCode
  89. RDT_PutBlock16(/* short *b, int len */);
  90.  
  91. extern CirioNubRetCode
  92. RDT_PutBlock32(/* long *b, int len */);
  93.  
  94.  
  95.  
  96. extern CirioNubRetCode
  97. RDT_SendCall(/* unsigned procID */);
  98.  
  99. extern CirioNubRetCode
  100. RDT_ReadReply(/*
  101.     unsigned *buffer,
  102.     unsigned bufferBytes,
  103.     unsigned *argcPtr
  104. */);
  105.  
  106.  
  107. extern CirioNubRetCode
  108. RDT_Connect(/* char *hostName, unsigned defaultPort */);
  109.  
  110. extern CirioNubRetCode
  111. RDT_Disconnect(/* bool doAbort */);
  112.  
  113. #endif /* _RDT_RUNTIME_ */
  114.